export const GetToken = (val: string) => {
  return localStorage.getItem(val)
}

import config from '@/../config/appconfig'


export const getLocalStorage = (value: string) => {
  return localStorage.getItem(value)
}

export const token = {
  getToken: function () {
    return localStorage.getItem(config.token)
  },
  setToken: function (value: string) {
    return localStorage.setItem(config.token, value)
  }
}
